<!--
 * @Description: 
 * @Author: wanghongjian
 * @@github: https://github.com/whj0117
 * @Date: 2025-11-06 17:16:47
 * @LastEditors: wanghongjian
 * @LastEditTime: 2025-11-30 17:22:19
-->
<template>
  <div class="dashboard-container">
    <div class="left-content">
      <div class="list-content">
        <img
          src="../../images/login.png"
          style="width: 60px; height: 60px; border-radius: 6px"
        />
        <div class="list-info">
          <div class="user-real-name">{{userCard.realName}}</div>
          <div class="user-name">{{userCard.wxName}}</div>
        </div>
        <div class="wrap-list-item-info-tips align-center">
          <div class="wrap-list-item-info-tips-item align-justify-center" v-show="userCard.isRealMark">
            <div class="wrap-list-item-info-tips-item-sure"></div>
            实名
          </div>
          <div
            class="wrap-list-item-info-tips-item align-justify-center bgF8A366" v-show="userCard.isEducationalMark"
          >
            <div class="wrap-list-item-info-tips-item-sure"></div>
            学历
          </div>
          <div
            class="wrap-list-item-info-tips-item align-justify-center bg60DCEA" v-show="userCard.isHouseMark"
          >
            <div class="wrap-list-item-info-tips-item-sure"></div>
            房子
          </div>
          <div
            class="wrap-list-item-info-tips-item align-justify-center bg7BADEF" v-show="userCard.isCarMark"
          >
            <div class="wrap-list-item-info-tips-item-sure"></div>
            车子
          </div>
        </div>
        <div class="wrap-list-item-mark align-justify-center">已见面</div>
      </div>
      <div class="zhanwei"></div>
      <div class="wxtel">
        <div>
          手机号：
          <div class="content">{{userCard.tel}}</div>
        </div>
        <div v-if="userCard.wxtel">
          微信号：
          <div class="content">1000000000</div>
        </div>
      </div>
      <div class="count-content">
        <div class="count-list">
          <div class="list-item">
            {{userCard.collectibles}}
            <div class="text">
              已收藏
              <div class="tips">(次)</div>
            </div>
          </div>
          <div class="list-item">
            {{userCard.passiveRejection}}
            <div class="text">
              被动拒绝认识
              <div class="tips">(次)</div>
            </div>
          </div>
        </div>
        <div class="count-list">
          <div class="list-item">
            {{userCard.see}}
            <div class="text">
              已见面
              <div class="tips">(次)</div>
            </div>
          </div>
          <div class="list-item">
            {{userCard.initiativeRejection}}
            <div class="text">
              主动拒绝认识
              <div class="tips">(次)</div>
            </div>
          </div>
        </div>
      </div>
      <div class="btn">
        <el-button
          type="primary"
          style="
            width: 130px;
            height: 40px;
            background-color: #ff47ab;
            border-color: #ff47ab;
            margin-top: 60px;
          "
          >注销</el-button
        >
      </div>
    </div>
    <div class="right-content">
      <div class="tags-content">
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane label="个人资料" name="first">
            <div class="tags-item">
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">个人基本情况</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content">
                  <div class="list-content-item">
                    <div>
                      <div class="title">昵称</div>
                      <div class="content">
                        <span v-if="!isEdit">{{userDetail.wxName}}</span>
                        <el-input v-else clearable v-model="userDetail.wxName" placeholder="请输入"></el-input>
                      </div>
                    </div>
                    <div>
                      <div class="title">姓名</div>
                      <div class="content">
                        <span v-if="!isEdit">{{userDetail.realName}}</span>
                        <el-input v-else clearable v-model="userDetail.realName" placeholder="请输入"></el-input>
                      </div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">性别</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('sex',userDetail.sex)}}</span>
                        <el-select v-else v-model="userDetail.sex" clearable placeholder="请选择">
                          <el-option v-for="item in commonData.sex" :key="item.key" :label="item.val" :value="item.key"></el-option>
                        </el-select>
                      </div>
                    </div>
                    <div>
                      <div class="title">出生</div>
                      <div class="content">{{userDetail.birthday}}年</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">身高</div>
                      <div class="content">{{userDetail.height}}cm</div>
                    </div>
                    <div>
                      <div class="title">体重</div>
                      <div class="content">{{userDetail.weight}}kg</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">民族</div>
                      <div class="content">{{userDetail.nationality}}族</div>
                    </div>
                    <div>
                      <div class="title">学历</div>
                      <div class="content">{{getCommonData('education',userDetail.educational)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">居住地</div>
                      <div class="content">{{userDetail.addressCityName}}{{userDetail.addressDistrictName}}</div>
                    </div>
                    <div>
                      <div class="title">婚姻</div>
                      <div class="content">{{getCommonData('marryStatus',userDetail.marry)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">购房情况</div>
                      <div class="content">{{getCommonData('buyHouse',userDetail.buyHouse)}}</div>
                    </div>
                    <div>
                      <div class="title">购车情况</div>
                      <div class="content">{{getCommonData('buyCar',userDetail.buyCar)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">公司性质</div>
                      <div class="content">{{getCommonData('companyProperty',userDetail.companyProperty)}}</div>
                    </div>
                    <div>
                      <div class="title">职业</div>
                      <div class="content">{{userDetail.workName }}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">月收入</div>
                      <div class="content">{{userDetail.income}}千</div>
                    </div>
                    <div>
                      <div class="title">是否吸烟</div>
                      <div class="content">{{getCommonData('isSmoke',userDetail.isSmoke)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">是否喝酒</div>
                      <div class="content">{{getCommonData('isDrink',userDetail.isDrink)}}</div>
                    </div>
                    <div>
                      <div class="title">有没有孩子</div>
                      <div class="content">{{getCommonData('isChild',userDetail.isChild)}}</div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">个人小档案</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content">
                  <div class="list-content-item">
                    <div>
                      <div class="title">籍贯</div>
                      <div class="content">
                        <span v-if="!isEdit">{{userArchive.cityCn}}{{userArchive.districtCn}}</span>
                        <el-input v-else clearable v-model="userArchive.cityCn" placeholder="请输入"></el-input>
                      </div>
                    </div>
                    <div>
                      <div class="title">户口性质</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('hukou',userArchive.hukou)}}</span>
                        <el-input v-else clearable v-model="userArchive.hukou" placeholder="请输入"></el-input>
                      </div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">家庭成员</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('familyCount',userArchive.familyCount)}}</span>
                        <el-input v-else clearable v-model="userArchive.familyCount" placeholder="请输入"></el-input>
                      </div>
                    </div>
                    <div>
                      <div class="title">子女中排行</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('childSort',userArchive.childSort)}}</span>
                        <el-input v-else clearable v-model="userArchive.childSort" placeholder="请输入"></el-input>
                      </div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">父亲工作</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('work',userArchive.fatherWork)}}</span>
                        <el-input v-else clearable v-model="userArchive.fatherWork" placeholder="请输入"></el-input>
                      </div>
                    </div>
                    <div>
                      <div class="title">母亲工作</div>
                      <div class="content">
                        <span v-if="!isEdit">{{getCommonData('work',userArchive.motherWork)}}</span>
                        <el-input v-else clearable v-model="userDetail.motherWork" placeholder="请输入"></el-input>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">信息认证</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content information-authentication">
                  <div class="info-item" v-show="userDetail.isRealMark">
                    <img src="../../images/nameCertification.png" alt="" />
                    <div class="text">实名认证</div>
                  </div>
                  <div class="info-item" v-show="userDetail.isEducationalMark">
                    <img src="../../images/academicCertification.png" alt="" />
                    <div class="text">学历认证</div>
                  </div>
                  <div class="info-item" v-show="userDetail.isHouseMark">
                    <img src="../../images/houseCertification.png" alt="" />
                    <div class="text">房子认证</div>
                  </div>
                  <div class="info-item" v-show="userDetail.isCarMark">
                    <img src="../../images/carCertification.png" alt="" />
                    <div class="text">车子认证</div>
                  </div>
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">择偶意向</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content">
                  <div class="list-content-item">
                    <div>
                      <div class="title">出生</div>
                      <div class="content">{{intention.oBirthday}}年</div>
                    </div>
                    <div>
                      <div class="title">婚姻</div>
                      <div class="content">{{getCommonData('marryStatus',intention.omarry)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">身高</div>
                      <div class="content">{{intention.oheight}}cm</div>
                    </div>
                    <div>
                      <div class="title">体重</div>
                      <div class="content">{{intention.oweight}}kg</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">民族</div>
                      <div class="content">{{intention.onationality}}族</div>
                    </div>
                    <div>
                      <div class="title">居住地</div>
                      <div class="content">{{intention.addressCityName}}{{intention.addressDistrictName}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">购房情况</div>
                      <div class="content">{{getCommonData('buyHouse',intention.obuyHouse)}}</div>
                    </div>
                    <div>
                      <div class="title">购车情况</div>
                      <div class="content">{{getCommonData('buyCar',intention.obuyCar)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">公司性质</div>
                      <div class="content">{{getCommonData('companyProperty',intention.ocompanyProperty)}}</div>
                    </div>
                    <div>
                      <div class="title">职业</div>
                      <div class="content">{{intention.oworkName}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">月收入</div>
                      <div class="content">{{intention.oincome}}千</div>
                    </div>
                    <div>
                      <div class="title">是否吸烟</div>
                      <div class="content">{{getCommonData('isSmoke',intention.oisSmoke)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">是否喝酒</div>
                      <div class="content">{{getCommonData('isDrink',intention.oisDrink)}}</div>
                    </div>
                    <div>
                      <div class="title">有没有孩子</div>
                      <div class="content">{{getCommonData('isChild',intention.oisChild)}}</div>
                    </div>
                  </div>
                  <div class="list-content-item">
                    <div>
                      <div class="title">是否想要孩子</div>
                      <div class="content">{{getCommonData('wantChild',intention.owantChild)}}</div>
                    </div>
                    <div>
                      <div class="title"></div>
                      <div class="content"></div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">兴趣爱好</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content textarea-content">
                  {{userDetail.hobby}}
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">爱情规划</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content">
                  <div class="list-content-item">
                    <div>
                      <!-- <div class="title">何时结婚</div>
                      <div class="content">{{getCommonData('howTimeMarry',userDetail.howTimeMarry)}}</div> -->
                    </div>
                    <div>
                      <div class="title">是否想要孩子</div>
                      <div class="content">{{getCommonData('wantChild',userDetail.wantChild)}}</div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">自我介绍</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content textarea-content">
                  {{userDetail.selfIntroduction}}
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">爱情观</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content textarea-content">
                  个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">对他的期望</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content textarea-content">
                  {{userDetail.theyExpectation}}
                </div>
              </div>
              <div class="tags-item-list">
                <div class="list-title">
                  <div class="title">现实拷问</div>
                  <div class="line"></div>
                  <div class="edit" @click="handleEdit">
                    编辑
                    <i class="el-icon-edit-outline"></i>
                  </div>
                </div>
                <div class="list-content interrogate-content">
                  <div class="interrogate-item">
                    <div class="interrogate-title">
                      1、到目前单身的原因是什么？
                    </div>
                    <div class="interrogate-text">
                      个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
                    </div>
                  </div>
                  <div class="interrogate-item">
                    <div class="interrogate-title">
                      2、最希望和他过什么样子的生活？
                    </div>
                    <div class="interrogate-text">
                      个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </el-tab-pane>
          <el-tab-pane label="见面交往" name="second">
            <div class="tags-item">
              <div class="filter-wrap">
                <div class="filter-container">
                  <el-input
                    v-model.trim="query.realName"
                    clearable
                    placeholder="对方姓名"
                    @keyup.enter.native="search"
                  />
                  <el-date-picker
                    v-model="meetTime"
                    clearable
                    format="yyyy-MM-dd"
                    value-format="yyyy-MM-dd"
                    type="daterange"
                    range-separator="至"
                    start-placeholder="约见开始时间"
                    end-placeholder="约见结束时间"
                    @change="handleMeetTime"
                  />
                  <el-input
                    v-model.trim="query.meetAddress"
                    clearable
                    placeholder="约见地点"
                    @keyup.enter.native="search"
                  />
                  <el-button
                    @click="search"
                    type="primary"
                    style="background-color: #ff47ab; border-color: #ff47ab"
                  >
                    搜索
                  </el-button>
                </div>
                <div class="filter-switch">
                  <el-switch
                    v-model="value1"
                    active-text="已有交往对象"
                  ></el-switch>
                </div>
              </div>
              <div class="table-data">
                <el-table
                  :data="contactList"
                  style="width: 100%"
                  :header-cell-style="{
                    'text-align': 'center',
                    'background-color': '#E3E5E8',
                  }"
                  :cell-style="{ 'text-align': 'center' }"
                >
                  <el-table-column prop="isActive" label="约见方式">
                  </el-table-column>
                  <el-table-column prop="realName" label="对方姓名">
                  </el-table-column>
                  <el-table-column prop="wxName" label="对方昵称">
                  </el-table-column>
                  <el-table-column prop="age" label="对方年龄">
                  </el-table-column>
                  <el-table-column prop="educationalCh" label="对方学历">
                  </el-table-column>
                  <el-table-column prop="companyPropertyCh" label="对方公司性质">
                  </el-table-column>
                  <el-table-column prop="meetDateTime" label="约见时间">
                  </el-table-column>
                  <el-table-column prop="meetAddress" label="约见地点">
                  </el-table-column>
                  <el-table-column prop="isEnd" label="对方目前情感状态" width="160">
                  </el-table-column>
                </el-table>
              </div>
            </div>
            <pagination
              v-show="total"
              :total="total"
              :page.sync="query.pageNumber"
              :limit.sync="query.pageSize"
              @pagination="getInfo"
            />
          </el-tab-pane>
        </el-tabs>
      </div>
    </div>
  </div>
</template>

<script>
import Pagination from "@/components/Pagination"; // secondary package based on el-pagination
import {userCard,userInfo,contactList,commonConstants} from '@/api/user'
import {getFormData} from '@/utils'
import {mapGetters} from "vuex"
export default {
  name: "Datalist",
  components: { Pagination },
  data() {
    return {
      value1: false,
      activeName: "first",
      isEdit: false,
      query: {
        pageNumber:1,
        pageSize:10,
      },
      meetTime: [],
      total:1,
      userId:null,
      userCard:{},
      userDetail:{},
      userArchive:{},
      intention:{},
      contactList:[]
    };
  },
  computed: {
    ...mapGetters(['commonData'])
  },
  mounted() {
    this.userId = this.$route.query.userId
    this.getInfo()
  },
  methods: {
    handleMeetTime(e){
      if(e){
        this.query.startTime = e[0]
        this.query.endTime = e[1]
      }else{
        this.query.startTime = this.query.endTime = ''
      }
    },
    getCommonData(key,val){
      if(val) return this.commonData[key].find(type => type.key == val).val
      return ''
    },
    async getInfo() {
      this.userCard = await userCard(getFormData({
        userId:this.userId
      }))
      const {userDetail,userArchive,intention} = await userInfo(getFormData({
        userId:this.userId
      }))
      const {records,totalRow} = await contactList(getFormData({
        userId:this.userId,
        ...this.query
      }))
      this.userDetail = userDetail
      this.userArchive = userArchive
      this.intention = intention
      this.contactList = records
      this.total = totalRow
    },
    async getCommonConstants(){
      await commonConstants()
    },
    handleEdit() {
      this.isEdit = !this.isEdit;
    },
  }
};
</script>
<style lang="scss" scoped>
.dashboard-container {
  display: flex;
  min-height: calc(100vh - 84px);

  .left-content {
    overflow: auto;
    position: relative;
    width: 320px;
    height: calc(100vh - 100px);
    margin-right: 20px;
    padding: 30px 45px 30px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 4px 4px 4px 4px;

    .list-content {
      display: flex;
      flex-direction: column;
      align-items: center;

      .list-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px 0 40px;

        .user-name {
          font-weight: 500;
          font-size: 14px;
          color: #777777;
        }

        .user-real-name {
          margin-bottom: 10px;
          font-weight: bold;
          font-size: 16px;
          color: #222222;
        }
      }

      .wrap-list {
        flex-wrap: wrap;

        &-item {
          position: relative;
          width: 380px;
          height: 176px;
          margin-right: 20px;
          margin-bottom: 20px;
          padding: 20px;
          box-sizing: border-box;
          background-color: #ffffff;
          border-radius: 12px 12px 12px 12px;

          &-info {
            &-t {
              &-r {
                margin-left: 14px;
              }
            }

            &-tips {
              &-item {
                width: 50px;
                height: 20px;
                margin-right: 10px;
                background-color: #57ee91;
                font-size: 12px;
                color: #ffffff;
                border-radius: 2px;

                &:last-child{
                  margin-right: 0;
                }

                &.bgF8A366 {
                  background-color: #f8a366;
                }

                &.bg60DCEA {
                  background-color: #60dcea;
                }

                &.bg7BADEF {
                  background-color: #7badef;
                }

                &-sure {
                  width: 12px;
                  height: 12px;
                  margin-right: 2px;
                  background: url("../..//images/sure.png") center/cover
                    no-repeat;
                }
              }
            }

            &-b {
              .wrap-list-item-info-tips-item {
                width: auto;
                height: auto;
                padding: 6px 10px;
                box-sizing: border-box;
                color: #444444;
                font-size: 12px;
                background-color: #f3f3f3;
              }
            }
          }

          &-mark {
            position: absolute;
            right: 0;
            top: 0;
            width: 56px;
            height: 20px;
            background: url("../../images/jianmian-tips.png") center/cover
              no-repeat;
            font-size: 12px;
            color: #fff;
          }
        }
      }
    }

    .zhanwei {
      width: 320px;
      height: 1px;
      margin: 60px 0 60px -45px;
      background-color: #d4d4d4;
    }

    .wxtel {
      margin-bottom: 100px;
      font-weight: 500;
      font-size: 14px;
      color: #777777;

      & > div {
        display: flex;
        align-items: center;
        justify-content: center;

        &:first-child {
          margin-bottom: 50px;
        }
      }

      .content {
        font-weight: bold;
        font-size: 16px;
        color: #222222;
      }
    }

    .count-content {
      .count-list {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        text-align: center;

        .list-item {
          font-weight: bold;
          font-size: 24px;
          color: #222222;

          .text {
            display: flex;
            margin-top: 12px;
            font-weight: 500;
            font-size: 14px;
            color: #777777;

            .tips {
              font-size: 12px;
            }
          }
        }

        &:first-child {
          margin-bottom: 50px;
        }
      }
    }
    .btn {
      text-align: center;
    }
  }

  .right-content {
    flex: 1;
    overflow: auto;
    height: calc(100vh - 100px);
    background-color: #fff;
    .tags-content {
      ::v-deep .el-tabs {
        .el-tabs__header {
          .el-tabs__nav-scroll {
            padding: 0 30px;
            box-sizing: border-box;
          }
          .el-tabs__nav {
            height: 57px;
            .el-tabs__active-bar {
              background-color: #ff47ab;
            }
            .el-tabs__item {
              height: 57px;
              line-height: 57px;
              font-weight: 400;
              font-size: 16px;
              color: #777777;
              &.is-active {
                font-weight: bold;
                color: #ff47ab;
              }
            }
          }
        }
      }
      .tags-item {
        padding: 15px 30px 60px 30px;
        box-sizing: border-box;
        .tags-item-list {
          margin-bottom: 60px;
          &:last-child {
            margin-bottom: 0;
          }
          .list-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            .title {
              height: 14px;
              line-height: 14px;
              padding-left: 16px;
              border-left: 4px solid #ff47ab;
              box-sizing: border-box;
              font-weight: bold;
              font-size: 14px;
              color: #222222;
            }
            .line {
              flex: 1;
              margin: 0 20px;
              border-top: 1px dashed #999999;
            }

            .edit {
              font-weight: 400;
              font-size: 14px;
              color: #222222;
              cursor: pointer;
            }
          }
          .list-content {
            margin-top: 30px;
            ::v-deep .tableColumnClassName {
              background-color: #f1f3f7;
            }

            .list-content-item{
              display: flex;
              font-weight: 400;
              font-size: 14px;
              color: #444444;
              border: 1px solid #999999;
              border-bottom: none;

              &:last-child{
                border-bottom: 1px solid #999999;
              }
              
              &>div{
                flex: 1;
                display: flex;
                height: 40px;
                &>div{
                  line-height: 40px;
                  padding: 0 10px;
                  box-sizing: border-box;
                }
              }
              .title{
                width: 160px;
                text-align: right;
                background-color: #F1F3F7;
              }
              .content{
                flex: 1;
                text-align: left;
                .el-button{
                  width: 100%;
                }
                .el-select{
                  width: 100%;
                  .el-input{
                    width: 100%;
                  }
                }
              }
            }
            &.information-authentication {
              display: flex;
              align-items: center;
              .info-item {
                margin-right: 46px;
                font-size: 14px;
                color: #777777;
                & > img {
                  width: 50px;
                  height: 50px;
                  margin-bottom: 12px;
                }
              }
            }

            &.textarea-content {
              line-height: 20px;
              font-size: 14px;
              color: #444444;
            }

            &.interrogate-content {
              .interrogate-item {
                margin-bottom: 30px;
                font-weight: 400;
                font-size: 14px;
                color: #444444;
                line-height: 20px;
                &:last-child {
                  margin-bottom: 0;
                }
                .interrogate-title {
                  margin-bottom: 16px;
                  font-size: 14px;
                  color: #ff47ab;
                }
                .interrogate-text {
                  padding-left: 20px;
                  box-sizing: border-box;
                }
              }
            }
          }
        }
        .filter-wrap {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 20px;
          .filter-container {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}
</style>